package com.simple.datax;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Title: SimpleFailMessage.java
 * @Package com.simple.datax
 * @Description: TODO(添加描述)
 * @author Paladin Chen
 * @date 2012-12-24 下午2:07:09
 * @version V1.0
 */
public class SimpleFailMessage implements SimpleObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1211857065104533459L;

	private String recvRawMsgid;

	private String messageid;

	private String sendRawMsgid;

	private String msgType;

	private String msgFormate;

	private String msgSender;

	private String msgReceiver;

	private String errorInfo;

	private Short errorLevel;

	private Short errorType;

	public String toLog(){
		return "recvRawMsgid:(" + recvRawMsgid + ") messageid:(" + messageid + ")";
	}
	
	public String getRecvRawMsgid() {
		return recvRawMsgid;
	}

	public void setRecvRawMsgid(String recvRawMsgid) {
		this.recvRawMsgid = recvRawMsgid;
	}

	public String getMessageid() {
		return messageid;
	}

	public void setMessageid(String messageid) {
		this.messageid = messageid;
	}

	public String getSendRawMsgid() {
		return sendRawMsgid;
	}

	public void setSendRawMsgid(String sendRawMsgid) {
		this.sendRawMsgid = sendRawMsgid;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getMsgFormate() {
		return msgFormate;
	}

	public void setMsgFormate(String msgFormate) {
		this.msgFormate = msgFormate;
	}

	public String getMsgSender() {
		return msgSender;
	}

	public void setMsgSender(String msgSender) {
		this.msgSender = msgSender;
	}

	public String getMsgReceiver() {
		return msgReceiver;
	}

	public void setMsgReceiver(String msgReceiver) {
		this.msgReceiver = msgReceiver;
	}

	public String getErrorInfo() {
		return errorInfo;
	}

	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}

	public Short getErrorLevel() {
		return errorLevel;
	}

	public void setErrorLevel(Short errorLevel) {
		this.errorLevel = errorLevel;
	}

	public Short getErrorType() {
		return errorType;
	}

	public void setErrorType(Short errorType) {
		this.errorType = errorType;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
